package com.demo.webapp.kcfinder.model;

import java.util.Date;

public class File implements java.io.Serializable {

	/**
	 * 版本序列化ID
	 */
	private static final long serialVersionUID = -5118112717215320272L;

	/**
	 * 文件名称
	 */
	private String name;
	
	/**
	 * 文件大小
	 */
	private int size;
	
	/**
	 * 
	 */
	private long mtime;
	
	/**
	 * 日期
	 */
	private Date date;
	
	/**
	 * 可读
	 */
	private boolean readable;
	
	/**
	 * 可写
	 */
	private boolean writable;
	
	/**
	 * 是否有大图标
	 */
	private boolean bigIcon;
	
	/**
	 * 是否有小图标
	 */
	private boolean smallIcon;
	
	/**
	 * 是否有缩略图
	 */
	private boolean thumb;
	
	/**
	 * 是否有小缩略图
	 */
	private boolean smallThumb;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getSize() {
		return size;
	}
	public void setSize(int size) {
		this.size = size;
	}
	public long getMtime() {
		return mtime;
	}
	public void setMtime(long mtime) {
		this.mtime = mtime;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public boolean isReadable() {
		return readable;
	}
	public void setReadable(boolean readable) {
		this.readable = readable;
	}
	public boolean isWritable() {
		return writable;
	}
	public void setWritable(boolean writable) {
		this.writable = writable;
	}
	public boolean isBigIcon() {
		return bigIcon;
	}
	public void setBigIcon(boolean bigIcon) {
		this.bigIcon = bigIcon;
	}
	public boolean isSmallIcon() {
		return smallIcon;
	}
	public void setSmallIcon(boolean smallIcon) {
		this.smallIcon = smallIcon;
	}
	public boolean isThumb() {
		return thumb;
	}
	public void setThumb(boolean thumb) {
		this.thumb = thumb;
	}
	public boolean isSmallThumb() {
		return smallThumb;
	}
	public void setSmallThumb(boolean smallThumb) {
		this.smallThumb = smallThumb;
	}
}